﻿/// <reference path="../Controls/BaseComplexValueControl.js" />

var $BaseTemplateMapping = TA.Turbo.Controls.BaseTemplateMapping = function BaseTemplateMapping()
{
}

$BaseTemplateMapping.Inherit(BaseJsonSerializable);
$BaseTemplateMapping.Inherit(BaseJsonDeserializable);

var ____a;
if (____a)
{
	$BaseTemplateMapping.prototype = new BaseJsonSerializable();
	$BaseTemplateMapping.prototype.BaseJsonSerializable = new BaseJsonSerializable();
}

$BaseTemplateMapping.prototype.TemplateId = null;

$BaseTemplateMapping.prototype.get_Weight = function get_Weight()
{
}

$BaseTemplateMapping.prototype.GetTemplate = function GetTemplate(treeView, level)
{
}

$BaseTemplateMapping.prototype.SerializeContents = function SerializeContents(jw)
{
	if (this.TemplateId != null)
	{
		jr.Property("T", this.TemplateId);
	}
}
$BaseTemplateMapping.prototype.DeserializeContent = function DeserializeContent(propName, value)
{
	switch (propName)
	{
		case "T": this.TemplateId = value; break;
	}
}
